package Server

import "errors"

type BeareAuth struct {
}

func (this *BeareAuth) GetAuthInfo(token string, url string) (err error, headers map[string]string) {
	if url == "/j/api.php" {
		err = errors.New("can not call url")
		return
	}

	headers = make(map[string]string)
	headers["TenantId"] = "100860"
	headers["UserId"] = "10000"

	return
}

func (this *BeareAuth) InitWithConfig(config map[string]string) {

}
